/*
 * 中北大学软件学院版权所有2020-2025
 */
package nuc.lp.uolab.openclass.service;

import java.util.List;

import nuc.lp.uolab.openclass.dao.OpenClassDao;
import nuc.lp.uolab.openclass.dao.OpenClassDaoImpl;
import nuc.lp.uolab.openclass.vo.OpenClass;

/**
 * @author liupeng
 * @version 1.0
 */
public class OpenClassServiceImpl implements OpenClassService{

	OpenClassDao openclassDao = new OpenClassDaoImpl();
	@Override
	public boolean addOpenclass(OpenClass openclass) {
		// TODO Auto-generated method stub
		return openclassDao.insertOpenclass(openclass);
	}

	@Override
	public List<OpenClass> findOpenclass(String date, String dName, String major, String grade) {
		// TODO Auto-generated method stub
		return openclassDao.selectOpenclass(date, dName, major, grade);
	}

}
